package com.wyzz.hr.action;

import java.util.List;

import com.wyzz.hr.base.BaseAction;
import com.wyzz.hr.bo.IOvertimetypeBo;
import com.wyzz.hr.spring.SpringBeanFactory;

public class OverworkTypeAction extends BaseAction {

	public OverworkTypeAction() {
	}

	public String execute() throws Exception {
		IOvertimetypeBo ot_BO = (IOvertimetypeBo) SpringBeanFactory
				.getBean("overtimetypeBO");
		allOtType = ot_BO.FindAllOtType();
		return "success";
	}

	public List getAllOtType() {
		return allOtType;
	}

	public void setAllOtType(List allOtType) {
		this.allOtType = allOtType;
	}

	private List allOtType;
}
